import request from '@/utils/request'

// 查询实验室学生信息列表
export function listTyutstudent(query) {
  return request({
    url: '/person/tyutstudent/list',
    method: 'get',
    params: query
  })
}

// 查询实验室学生信息详细
export function getTyutstudent(id) {
  return request({
    url: '/person/tyutstudent/' + id,
    method: 'get'
  })
}

// 新增实验室学生信息
export function addTyutstudent(data) {
  return request({
    url: '/person/tyutstudent',
    method: 'post',
    data: data
  })
}

// 修改实验室学生信息
export function updateTyutstudent(data) {
  return request({
    url: '/person/tyutstudent',
    method: 'put',
    data: data
  })
}

// 删除实验室学生信息
export function delTyutstudent(id) {
  return request({
    url: '/person/tyutstudent/' + id,
    method: 'delete'
  })
}
